package fr.kptn.api.readability.structs.shortener;

import com.google.gson.annotations.SerializedName;

import fr.kptn.api.readability.structs.reader.Article;

public class ShortenedURLInfosMetas {

	/**
	 * URL for the shortened URL within Readability
	 * <br/>
	 * For example "/api/shortener/v1/urls/tg8if9uj"
	 */
	private String url;
	
	/**
	 * Full URL for the shortened URL within Readability
	 * <br/>
	 * For example "http://readability.com/articles/tg8if9uj"
	 */
	@SerializedName("full_url")
	private String fullUrl;
	
	/**
	 * Shorten URL
	 * <br/>
	 * For example "http://rdd.me/tg8if9uj"
	 */
	@SerializedName("rdd_url")
	private String rddUrl;
	
	/**
	 * Identifier of the shortened URL within Readability
	 * <br/>
	 * For example tg8if9uj
	 */
	private String id;
	
	/**
	 * Informations on the article pointed by this URL
	 */
	private Article article;
	
	/**
	 * Default constructor
	 */
	public ShortenedURLInfosMetas() {
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @return the fullUrl
	 */
	public String getFullUrl() {
		return fullUrl;
	}

	/**
	 * @param fullUrl the fullUrl to set
	 */
	public void setFullUrl(String fullUrl) {
		this.fullUrl = fullUrl;
	}

	/**
	 * @return the rddUrl
	 */
	public String getRddUrl() {
		return rddUrl;
	}

	/**
	 * @param rddUrl the rddUrl to set
	 */
	public void setRddUrl(String rddUrl) {
		this.rddUrl = rddUrl;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the article
	 */
	public Article getArticle() {
		return article;
	}

	/**
	 * @param article the article to set
	 */
	public void setArticle(Article article) {
		this.article = article;
	}
}
